package com.smw.dao;


import com.smw.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@Mapper
@Repository
public interface UserDao {
     User login(String userName,String passWord);
     User findUserByName(String userName);
     void addUser(User user);
}
